Skip to main content

Pauser Events

An object defining events for the Pauser class.

OnBeforeEvent(sender, args)

Occurs after the execution of the workflow step.

Parameters:

sender (required): object
The object that triggers this event.

args (required): OnBeforeEventArguments
Provides execution-related arguments, including cancel.


OnBeforeExecution(sender, args)

Occurs before the execution of the workflow step.

Parameters:

sender (required): object
The object that triggers this event.

args (required): OnBeforeExecutionArguments
Provides execution-related arguments, including context, process ID, and step details.


OnAfterEvent(sender, args)

Occurs after the execution of the workflow step.

Parameters:

sender (required): object
The object that triggers this event.

args (required): OnAfterEventArguments
Provides execution-related arguments, including EventFormId.


OnAfterExecution(sender, args)

Occurs after the execution of the workflow step.

Parameters:

sender (required): object
The object that triggers this event.

args (required): OnAfterExecutionArguments
Provides execution-related arguments, including context, process ID, and step details.